package com.blog.service.interfaces;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

public interface CustomUserDetailService {

	/* 
	 * 根据用户名判断是否存在 
	 * <p>Title: loadUserByUsername</p> 
	 * <p>Description: </p> 
	 * @param arg0 
	 * @return 
	 * @throws UsernameNotFoundException 
	 * @see org.springframework.security.core.userdetails.UserDetailsService#loadUserByUsername(java.lang.String) 
	 */
	public abstract UserDetails loadUserByUsername(String username)
			throws UsernameNotFoundException;

}